<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/commons/pages/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>

</head>
<body>
      <div class="subtitle">
          <h3>用户信息管理</h3>
      </div>
      <s:form action="UserInfo!list.action" method="post">
      <table width="100%" border="0" cellpadding="5" cellspacing="0" class="subtbl">
          <tr>
            <td>用户名：
              <input name="selectBean.user_code" type="text" class="webinput" id="textfield" size="20" />
              <input name="button2" type="submit" class="websub" id="button2" value="查 询" />
            </td>
          </tr>
        </table>
        <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
          <tr>
            <td align="right" colspan="6">
              <input name="button2" type="button" class="websub" onclick="location.href='UserInfo!add.action'" value="添加新用户" />
            </td>
          </tr>
          <tr>
            <th width="10%">序号</th>
            <th width="23%">用户名</th>
            <th width="22%">真实姓名</th>
            <th width="12%">手机</th>
            <th width="12%">电子邮箱</th>
            <th width="15%">操作</th>
          </tr>
          <s:iterator value="list" var="cur" status="vs">
          <tr align="center">
            <td><abean:counter write="true" /></td>
            <td align="left"><a href="UserInfo!view.action?id=<s:property value='#cur.id'/>"><s:property value="#cur.user_code"/></a></td>
            <td><s:property value="#cur.real_name"/></td>
            <td><s:property value="#cur.tel"/></td>
            <td><s:property value="#cur.e_mail"/></td>
            <td>
            	<a href="UserInfo!view.action?id=<s:property value='#cur.id'/>">查看</a>
            	<a href="UserInfo!edit.action?id=<s:property value='#cur.id'/>">修改</a>
            	<a href="UserInfo!delete.action?id=<s:property value='#cur.id'/>';}">删除</a>
			</td>
          </tr>
          </s:iterator>
          <abean:tablefill name="UserInfo" property="selectBean.pager" column="6"/>
        </table>
     	<div id="showpage"><ahtml:pagination name="UserInfo" method="list" showsize="false" property="selectBean.pager"/></div>
      </s:form>
</body>
</html>
